Javascript
Events' section of the ViewBox Builder's 'ViewBox Properties' pane. "/>Description
This section contains a selection of Javascript Events that an individual item can be bound to. Default or global events can also be set in the 'Events' section of the ViewBox Builder's 'ViewBox Properties' pane.
- Name
- Description
- onBeforeSelect
Fires after the html bound to an item is clicked on but before that item is actually selected. If the selected item becomes [highlighted] when selected then this event will fire before the highlight is applied.
- onClick
Fires when the item is clicked on with a mouse.
- onDblClick
Fires when the mouse is double clicked.
- onDown
Fires when the mouse button is pressed down.
- onDownHold
Fires after the mouse button is pressed down and then held in the down position for about a second.
- onRightClick
Javascript that fires when the right mouse button is clicked.
- onSelect
Fires when an item is selected.
- onSwipe
Javascript that fires when the screen on a device is swiped with a finger.
- onUp
Fires when the mouse button is lifted after being clicked.
See Also